package tables

type Behavior struct {
	Id             int    `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Acid           int    `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	GoodsId        int    `xorm:"" json:"goods_id" form:"goods_id" mapstructure:"goods_id"`
	UserId         int    `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	Nickname       string `xorm:"" json:"nickname" form:"nickname" mapstructure:"nickname"`
	Avatar         string `xorm:"" json:"avatar" form:"avatar" mapstructure:"avatar"`
	Action         string `xorm:"" json:"action" form:"action" mapstructure:"action"`
	ViewTime       int    `xorm:"" json:"view_time" form:"view_time" mapstructure:"view_time"`
	ViewPercentage int    `xorm:"" json:"view_percentage" form:"view_percentage" mapstructure:"view_percentage"`
	StaffId        int    `xorm:"" json:"staff_id" form:"staff_id" mapstructure:"staff_id"`
	CreatedAt      int    `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt      int    `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt      int    `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	App            string `xorm:"" json:"app" form:"app" mapstructure:"app"`
}
